package com.woniu.service;

import com.woniu.dto.HisRoomDto;
import com.woniu.dto.PageDTO;
import com.woniu.model.HisRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.param.HisRoomAddParam;
import com.woniu.param.HisRoomParam;
import com.woniu.param.PageParam;
import com.woniu.util.Result;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-11
 */
@Service
public interface IHisRoomService extends IService<HisRoom> {
    public Result<HisRoomDto> addHisRoom(HisRoomAddParam hisRoomAddParam);
    public Result<Boolean> deleteHisRoomById(ArrayList<Integer> id);
    public Result<HisRoomDto> updateHisRoom(HisRoomParam hisRoomParam);
    public Result<PageDTO<HisRoomDto>> getHisRoomById(HisRoomParam hisRoomParam);
    public Result<PageDTO<HisRoomDto>> getAllRoom(PageParam pageParam);
}
